package vars
import "fmt"

var b bool
var i int
var i8 int8
var i16 int16
var i32 int32
var i64 int64
var ui uint
var ui8 uint8
var ui16 uint16
var ui32 uint32
var ui64 uint64
var f32 float32
var f64 float64
var s string

func AllVars() {
	fmt.Printf("全局变量: bool 默认值：%v\n", b)

	fmt.Printf("全局变量: int 默认值：%v\n", i)
	fmt.Printf("全局变量: int8 默认值：%v\n", i8)
	fmt.Printf("全局变量: int16 默认值：%v\n", i16)
	fmt.Printf("全局变量: int32 默认值：%v\n", i32)
	fmt.Printf("全局变量: int64 默认值：%v\n", i64)
	fmt.Printf("全局变量: int64 默认值：%v\n", i64)

	fmt.Printf("全局变量: uint 默认值：%v\n", ui)
	fmt.Printf("全局变量: uint8 默认值：%v\n", ui8)
	fmt.Printf("全局变量: uint16 默认值：%v\n", ui16)
	fmt.Printf("全局变量: uint32 默认值：%v\n", ui32)
	fmt.Printf("全局变量: uint64 默认值：%v\n", ui64)
	fmt.Printf("全局变量: uint64 默认值：%v\n", ui64)

	fmt.Printf("全局变量: float32 默认值：%v\n", f32)
	fmt.Printf("全局变量: float64 默认值：%v\n", f64)

	fmt.Printf("全局变量: string 默认值：%v\n", s)

}
